<!DOCTYPE html>

<html lang="en" style="font-size: 54.8px;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">



    <meta http-equiv="X-UA-Compatible" content="edge">

    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">

    <meta name="apple-mobile-web-app-capable" content="yes">

    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <title>test</title>

    <link rel="stylesheet" href="./game/css/game.css">


    <script type="text/javascript" src="./game/js/bodymovin.js"></script>

    <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>

    <script typet="text/javascript" src="./game/js/jquery-3.3.1.min.js"></script>

    <script type="text/javascript" src="./game/js/jquery.cookie.js"></script>

    <script type="text/javascript" src="./game/js/JicemoonMobileTouch.js"></script>

    <script type="text/javascript" src="./game/js/HardestGame.js"></script>

    <script type="text/javascript" src="./game/js/index.js?v=158"></script>

</head>

<body>

<audio id="back_music" preload="" src="./game/sounds/bg_audio.mp3" loop="true"></audio>

<audio id="split_audio" preload="" src="./game/sounds/split_audio.mp3"></audio>

<audio id="collision_audio" preload="" src="./game/sounds/collision_audio.mp3"></audio>

<audio id="Countdown_10s_audio" preload="" src="./game/sounds/Countdown_10s_audio.mp3"></audio>

<audio id="gameFail_audio" preload="" src="./game/sounds/gameFail_audio.mp3"></audio>

<audio id="gameSuccess_audio" preload="" src="./game/sounds/gameSuccess_audio.mp3"></audio>

<audio id="insert_audio" preload="" src="./game/sounds/insert_audio.mp3"></audio>

<audio id="success_audio" preload="" src="./game/sounds/success_audio.mp3"></audio>



<div class="levelSwitchBox" id="levelSwitchBox" >

    <img id="levelSwitchBoxMain" class="levelSwitchBoxMain" src="./game/img/level_1_mains.jpg">



</div>

<div class="PopupBox" id="gameOverBox" style="display: none;">

    <!--<div id="gameOverClose" class="close"><img src="./game/img/close_btn.jpg"></div>-->

    <!--<div class="gameOverIcon"></div>-->

    <div id="gameOverBoxTitle">闯关失败</div>

    <div class="PopupBoxBtn" id="gameOverBoxBtn">重新闯关</div>

</div>

<div class="PopupBox" id="gameSuccessBox" style="display: none;">

    <!--<div id="gameSuccessClose" class="close"><img src="./game/img/close_btn.jpg"></div>-->

    <div id="gameSuccessBoxText">恭喜您，闯关成功</div>

    <div class="PopupBoxBtn" id="gameSuccessBoxBtn">点击我的口红领取</div>

</div>



<div class="layoutRoot" id="app" data-game_id="{$info['game_id']}" data-openid="{$user['openid']}" data-uniacid="{$user['uniacid']}">

    <div class="game" id="game" style="width: 411px; height: 731px;">

        <div class="account">

            <span></span>

        </div>

        <div class="bulletsNumBox">

            <img class="bulletsNum" id="bulletsNum1" src="./game/img/6.png">

        </div>

        <canvas style="position: relative;z-index: 3" id="gameStage" width="411" height="731"></canvas>

        <div id="bm" style="width: 100%; height: 100%;position: fixed;background-color: rgba(0,0,0,0);top: 5.3rem; transform: translate(-5%,-1%); z-index: 2">



        </div>

        <div class="tips">

            <p id="currentLevel">当前关数: <span>1</span></p>

            <p id="gameTip"></p>

        </div>



        <div class="levelbox" id="levelbox">

            <div class="level"><img id="level_1" src="./game/img/level_icon_1_active.png"></div>

            <div class="level"><img id="level_2" src="./game/img/level_icon_2.png"></div>

            <div class="level"><img id="level_3" src="./game/img/level_3.png"></div>

        </div>

        <div id="timebox">18</div>

    </div>

</div>

<script>

    // function onBridgeReady() {

    //     WeixinJSBridge.call('hideOptionMenu');

    // }

    // if (typeof WeixinJSBridge == "undefined") {

    //     if (document.addEventListener) {

    //         document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);

    //     } else if (document.attachEvent) {

    //         document.attachEvent('WeixinJSBridgeReady', onBridgeReady);

    //         document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);

    //     }

    // } else {

    //     onBridgeReady();

    // }

</script>

<script>



    $(function(){


/*
            wx.config(

            {$jssdk}

            );

    wx.ready(function () {

        wx.hideMenuItems({

            menuList: ["menuItem:share:timeline", "menuItem:copyUrl", "menuItem:share:appMessage", "menuItem:share:qq", "menuItem:share:weiboApp", "menuItem:favorite", "menuItem:share:facebook", "menuItem:share:QZone", "menuItem:editTag", "menuItem:delete", "menuItem:copyUrl", "menuItem:originPage", "menuItem:readMode", "menuItem:openWithQQBrowser", "menuItem:openWithSafari", "menuItem:share:email", "menuItem:share:brand"] // 要隐藏的菜单项，只能隐藏“传播类”和“保护类”按钮

        });

        });

*/



    })



</script>



<script type="text/javascript">

    var loadedMusic = false;

    var game_id=$("#app").attr("data-game_id");

    var openid=$("#app").attr("data-openid");

    var uniacid=$("#app").attr("data-uniacid");

    // var h5Host = "https://wopen.wunengkeji.com/";

    document.body.addEventListener('touchmove', function (e) {

        e.preventDefault(); //阻止默认的处理方式(阻止下拉滑动的效果)

    }, {passive: false});

    var baseUrl = function GetRequest() {



        var url = location.search;  //获取url中"?"符后的字符串



        var theRequest = new Object();

        if (url.indexOf("?") != -1) {

            url = url.split("?")[1];

            strs = url.split("&");

            for (var i = 0; i < strs.length; i++) {

                theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);

            }

        }

        return theRequest;



    }

    var jsonParamsAlias = baseUrl();

    // var jsonParams = {

    //     "game_id" : jsonParamsAlias.gid,

    //     "game_pay" : jsonParamsAlias.pay,

    //     "product_id" : jsonParamsAlias.pid,

    //     "randomNum" : jsonParamsAlias.rand,

    //     "forecast_result": jsonParamsAlias.res,

    //     "user_id" : jsonParamsAlias.uid

    // }

 /*   var jsonParams = {

        "game_id" : "{$info['game_id']}",

        "game_pay" : "132",

        "product_id" : "465",

        "randomNum" : "4541",

        "forecast_result": "1321",

        "openid" : "{$user['openid']}"

    }
*/
    var jsonParams = {"h5":"1","uniacid":"1","game_id":"434","platid":"1"}

    if (jsonParamsAlias.slient) {

        $('audio').prop('muted', true);

    }

    if (jsonParamsAlias.h5 && jsonParamsAlias.h5 == "1") {

        window.isH5 = true;

    }

    var cookieDelTime = new Date(Math.floor(new Date(new Date().getTime()+150000)));

    $.cookie('game_cookie', null);

    $.cookie('game_cookie', JSON.stringify(jsonParams), { expires: cookieDelTime });

    var dataJs = {
  "v": "5.1.20",
  "fr": 24,
  "ip": 0,
  "op": 25,
  "w": 750,
  "h": 1334,
  "nm": "猕猴桃粒",
  "ddd": 0,
  "assets": [],
  "layers": [{
    "ddd": 0,
    "ind": 1,
    "ty": 4,
    "nm": "形状图层 12",
    "parent": 2,
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 0,
        "k": 0,
        "ix": 10
      },
      "p": {
        "a": 0,
        "k": [60.784, 58.533, 0],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [59.997, 58.058, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [100, 100, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "ef": [{
      "ty": 29,
      "nm": "高斯模糊",
      "np": 6,
      "mn": "ADBE Gaussian Blur 2",
      "ix": 1,
      "en": 1,
      "ef": [{
        "ty": 0,
        "nm": "模糊度",
        "mn": "ADBE Gaussian Blur 2-0001",
        "ix": 1,
        "v": {
          "a": 0,
          "k": 3,
          "ix": 1
        }
      }, {
        "ty": 7,
        "nm": "模糊方向",
        "mn": "ADBE Gaussian Blur 2-0002",
        "ix": 2,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 2
        }
      }, {
        "ty": 7,
        "nm": "重复边缘像素",
        "mn": "ADBE Gaussian Blur 2-0003",
        "ix": 3,
        "v": {
          "a": 0,
          "k": 0,
          "ix": 3
        }
      }, {
        "ty": 7,
        "nm": "GPU 渲染",
        "mn": "ADBE Force CPU GPU",
        "ix": 4,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 4
        }
      }]
    }],
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-1.818, -1.608],
              [2.625, -7.125],
              [-5.75, 4.625],
              [7.375, 7.625]
            ],
            "o": [
              [3.25, 2.875],
              [-7.718, 20.949],
              [8.306, -6.681],
              [-3.63, -3.753]
            ],
            "v": [
              [48.75, 38.125],
              [59, 59.75],
              [67.5, 75.625],
              [62.125, 47.5]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.678431372549, 0.796078491211, 0.545098039216, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }, {
    "ddd": 0,
    "ind": 2,
    "ty": 4,
    "nm": "形状图层 11",
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 1,
        "k": [{
          "i": {
            "x": [0.667],
            "y": [1]
          },
          "o": {
            "x": [0.333],
            "y": [0]
          },
          "n": ["0p667_1_0p333_0"],
          "t": 1,
          "s": [0],
          "e": [648]
        }, {
          "t": 25
        }],
        "ix": 10
      },
      "p": {
        "a": 1,
        "k": [{
          "i": {
            "x": 0.908,
            "y": 0.865
          },
          "o": {
            "x": 0.666,
            "y": 0
          },
          "n": "0p908_0p865_0p666_0",
          "t": 1,
          "s": [376, 24, 0],
          "e": [539.834, 950.158, 0],
          "to": [188.638931274414, -115.640380859375, 0],
          "ti": [-13.3055925369263, -208.692947387695, 0]
        }, {
          "t": 25
        }],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [54.524, 57.03, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [40, 40, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-5.625, -9],
              [3.754, -12.97],
              [-17.75, 3.75],
              [8.375, 7.375]
            ],
            "o": [
              [1.749, 2.798],
              [-4.125, 14.25],
              [22.848, -4.827],
              [-9.964, -8.775]
            ],
            "v": [
              [34.375, 32.375],
              [47.125, 57.75],
              [62.5, 84.25],
              [64.375, 44.625]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "st",
        "c": {
          "a": 0,
          "k": [0.270588235294, 0.447058853449, 0.062745098039, 1],
          "ix": 3
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 4
        },
        "w": {
          "a": 0,
          "k": 1,
          "ix": 5
        },
        "lc": 1,
        "lj": 1,
        "ml": 4,
        "nm": "描边 1",
        "mn": "ADBE Vector Graphic - Stroke",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.466666696586, 0.658823529412, 0.239215701234, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }, {
    "ddd": 0,
    "ind": 3,
    "ty": 4,
    "nm": "形状图层 10",
    "parent": 4,
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 0,
        "k": 0,
        "ix": 10
      },
      "p": {
        "a": 0,
        "k": [60.784, 58.533, 0],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [59.997, 58.058, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [100, 100, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "ef": [{
      "ty": 29,
      "nm": "高斯模糊",
      "np": 6,
      "mn": "ADBE Gaussian Blur 2",
      "ix": 1,
      "en": 1,
      "ef": [{
        "ty": 0,
        "nm": "模糊度",
        "mn": "ADBE Gaussian Blur 2-0001",
        "ix": 1,
        "v": {
          "a": 0,
          "k": 3,
          "ix": 1
        }
      }, {
        "ty": 7,
        "nm": "模糊方向",
        "mn": "ADBE Gaussian Blur 2-0002",
        "ix": 2,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 2
        }
      }, {
        "ty": 7,
        "nm": "重复边缘像素",
        "mn": "ADBE Gaussian Blur 2-0003",
        "ix": 3,
        "v": {
          "a": 0,
          "k": 0,
          "ix": 3
        }
      }, {
        "ty": 7,
        "nm": "GPU 渲染",
        "mn": "ADBE Force CPU GPU",
        "ix": 4,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 4
        }
      }]
    }],
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-1.818, -1.608],
              [2.625, -7.125],
              [-5.75, 4.625],
              [7.375, 7.625]
            ],
            "o": [
              [3.25, 2.875],
              [-7.718, 20.949],
              [8.306, -6.681],
              [-3.63, -3.753]
            ],
            "v": [
              [48.75, 38.125],
              [59, 59.75],
              [67.5, 75.625],
              [62.125, 47.5]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.678431372549, 0.796078491211, 0.545098039216, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }, {
    "ddd": 0,
    "ind": 4,
    "ty": 4,
    "nm": "形状图层 9",
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 1,
        "k": [{
          "i": {
            "x": [0.667],
            "y": [1]
          },
          "o": {
            "x": [0.333],
            "y": [0]
          },
          "n": ["0p667_1_0p333_0"],
          "t": 1,
          "s": [0],
          "e": [-720]
        }, {
          "t": 25
        }],
        "ix": 10
      },
      "p": {
        "a": 1,
        "k": [{
          "i": {
            "x": 0.464,
            "y": 0.085
          },
          "o": {
            "x": 0.377,
            "y": 0
          },
          "n": "0p464_0p085_0p377_0",
          "t": 1,
          "s": [375.936, 23.902, 0],
          "e": [277.373, 970.409, 0],
          "to": [-66.9363861083984, -2.40240478515625, 0],
          "ti": [20.5016784667969, -772.409240722656, 0]
        }, {
          "t": 25
        }],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [54.623, 57.659, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [-64, 64, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-5.625, -9],
              [3.754, -12.97],
              [-17.75, 3.75],
              [8.375, 7.375]
            ],
            "o": [
              [1.749, 2.798],
              [-4.125, 14.25],
              [22.848, -4.827],
              [-9.964, -8.775]
            ],
            "v": [
              [34.375, 32.375],
              [47.125, 57.75],
              [62.5, 84.25],
              [64.375, 44.625]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "st",
        "c": {
          "a": 0,
          "k": [0.270588235294, 0.447058853449, 0.062745098039, 1],
          "ix": 3
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 4
        },
        "w": {
          "a": 0,
          "k": 1,
          "ix": 5
        },
        "lc": 1,
        "lj": 1,
        "ml": 4,
        "nm": "描边 1",
        "mn": "ADBE Vector Graphic - Stroke",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.466666696586, 0.658823529412, 0.239215701234, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }, {
    "ddd": 0,
    "ind": 5,
    "ty": 4,
    "nm": "形状图层 8",
    "parent": 6,
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 0,
        "k": 0,
        "ix": 10
      },
      "p": {
        "a": 0,
        "k": [60.784, 58.533, 0],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [59.997, 58.058, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [100, 100, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "ef": [{
      "ty": 29,
      "nm": "高斯模糊",
      "np": 6,
      "mn": "ADBE Gaussian Blur 2",
      "ix": 1,
      "en": 1,
      "ef": [{
        "ty": 0,
        "nm": "模糊度",
        "mn": "ADBE Gaussian Blur 2-0001",
        "ix": 1,
        "v": {
          "a": 0,
          "k": 3,
          "ix": 1
        }
      }, {
        "ty": 7,
        "nm": "模糊方向",
        "mn": "ADBE Gaussian Blur 2-0002",
        "ix": 2,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 2
        }
      }, {
        "ty": 7,
        "nm": "重复边缘像素",
        "mn": "ADBE Gaussian Blur 2-0003",
        "ix": 3,
        "v": {
          "a": 0,
          "k": 0,
          "ix": 3
        }
      }, {
        "ty": 7,
        "nm": "GPU 渲染",
        "mn": "ADBE Force CPU GPU",
        "ix": 4,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 4
        }
      }]
    }],
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-1.818, -1.608],
              [2.625, -7.125],
              [-5.75, 4.625],
              [7.375, 7.625]
            ],
            "o": [
              [3.25, 2.875],
              [-7.718, 20.949],
              [8.306, -6.681],
              [-3.63, -3.753]
            ],
            "v": [
              [48.75, 38.125],
              [59, 59.75],
              [67.5, 75.625],
              [62.125, 47.5]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.678431372549, 0.796078491211, 0.545098039216, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }, {
    "ddd": 0,
    "ind": 6,
    "ty": 4,
    "nm": "形状图层 7",
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 1,
        "k": [{
          "i": {
            "x": [0.667],
            "y": [1]
          },
          "o": {
            "x": [0.333],
            "y": [0]
          },
          "n": ["0p667_1_0p333_0"],
          "t": 1,
          "s": [120],
          "e": [-504]
        }, {
          "t": 25
        }],
        "ix": 10
      },
      "p": {
        "a": 1,
        "k": [{
          "i": {
            "x": 1,
            "y": 1
          },
          "o": {
            "x": 0.333,
            "y": 0
          },
          "n": "1_1_0p333_0",
          "t": 1,
          "s": [375.644, 24.453, 0],
          "e": [157.373, 1808.409, 0],
          "to": [-178.425857543945, -0.3405787050724, 0],
          "ti": [10.4258527755737, -229.659423828125, 0]
        }, {
          "t": 25
        }],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [54.623, 57.659, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [-72, 72, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-5.625, -9],
              [3.754, -12.97],
              [-17.75, 3.75],
              [8.375, 7.375]
            ],
            "o": [
              [1.749, 2.798],
              [-4.125, 14.25],
              [22.848, -4.827],
              [-9.964, -8.775]
            ],
            "v": [
              [34.375, 32.375],
              [47.125, 57.75],
              [62.5, 84.25],
              [64.375, 44.625]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "st",
        "c": {
          "a": 0,
          "k": [0.270588235294, 0.447058853449, 0.062745098039, 1],
          "ix": 3
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 4
        },
        "w": {
          "a": 0,
          "k": 1,
          "ix": 5
        },
        "lc": 1,
        "lj": 1,
        "ml": 4,
        "nm": "描边 1",
        "mn": "ADBE Vector Graphic - Stroke",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.466666696586, 0.658823529412, 0.239215701234, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }, {
    "ddd": 0,
    "ind": 7,
    "ty": 4,
    "nm": "形状图层 6",
    "parent": 8,
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 0,
        "k": 0,
        "ix": 10
      },
      "p": {
        "a": 0,
        "k": [62.173, 59.574, 0],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [59.997, 58.058, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [100, 100, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "ef": [{
      "ty": 29,
      "nm": "高斯模糊",
      "np": 6,
      "mn": "ADBE Gaussian Blur 2",
      "ix": 1,
      "en": 1,
      "ef": [{
        "ty": 0,
        "nm": "模糊度",
        "mn": "ADBE Gaussian Blur 2-0001",
        "ix": 1,
        "v": {
          "a": 0,
          "k": 3,
          "ix": 1
        }
      }, {
        "ty": 7,
        "nm": "模糊方向",
        "mn": "ADBE Gaussian Blur 2-0002",
        "ix": 2,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 2
        }
      }, {
        "ty": 7,
        "nm": "重复边缘像素",
        "mn": "ADBE Gaussian Blur 2-0003",
        "ix": 3,
        "v": {
          "a": 0,
          "k": 0,
          "ix": 3
        }
      }, {
        "ty": 7,
        "nm": "GPU 渲染",
        "mn": "ADBE Force CPU GPU",
        "ix": 4,
        "v": {
          "a": 0,
          "k": 1,
          "ix": 4
        }
      }]
    }],
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-1.818, -1.608],
              [2.625, -7.125],
              [-5.75, 4.625],
              [7.375, 7.625]
            ],
            "o": [
              [3.25, 2.875],
              [-7.718, 20.949],
              [8.306, -6.681],
              [-3.63, -3.753]
            ],
            "v": [
              [48.75, 38.125],
              [59, 59.75],
              [67.5, 75.625],
              [62.125, 47.5]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.678431372549, 0.796078491211, 0.545098039216, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }, {
    "ddd": 0,
    "ind": 8,
    "ty": 4,
    "nm": "形状图层 5",
    "sr": 1,
    "ks": {
      "o": {
        "a": 0,
        "k": 100,
        "ix": 11
      },
      "r": {
        "a": 1,
        "k": [{
          "i": {
            "x": [0.667],
            "y": [1]
          },
          "o": {
            "x": [0.333],
            "y": [0]
          },
          "n": ["0p667_1_0p333_0"],
          "t": 1,
          "s": [80],
          "e": [360]
        }, {
          "t": 25
        }],
        "ix": 10
      },
      "p": {
        "a": 1,
        "k": [{
          "i": {
            "x": 1,
            "y": 1
          },
          "o": {
            "x": 0.155,
            "y": 0
          },
          "n": "1_1_0p155_0",
          "t": 1,
          "s": [375.482, 23.178, 0],
          "e": [661.02, 1420.297, 0],
          "to": [274.589630126953, -16.8135833740234, 0],
          "ti": [0.66666668653488, -121, 0]
        }, {
          "t": 25
        }],
        "ix": 2
      },
      "a": {
        "a": 0,
        "k": [54.623, 57.659, 0],
        "ix": 1
      },
      "s": {
        "a": 0,
        "k": [86, 86, 100],
        "ix": 6
      }
    },
    "ao": 0,
    "shapes": [{
      "ty": "gr",
      "it": [{
        "ind": 0,
        "ty": "sh",
        "ix": 1,
        "ks": {
          "a": 0,
          "k": {
            "i": [
              [-5.625, -9],
              [3.754, -12.97],
              [-17.75, 3.75],
              [8.375, 7.375]
            ],
            "o": [
              [1.749, 2.798],
              [-4.125, 14.25],
              [22.848, -4.827],
              [-9.964, -8.775]
            ],
            "v": [
              [34.375, 32.375],
              [47.125, 57.75],
              [62.5, 84.25],
              [64.375, 44.625]
            ],
            "c": true
          },
          "ix": 2
        },
        "nm": "路径 1",
        "mn": "ADBE Vector Shape - Group",
        "hd": false
      }, {
        "ty": "st",
        "c": {
          "a": 0,
          "k": [0.270588235294, 0.447058853449, 0.062745098039, 1],
          "ix": 3
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 4
        },
        "w": {
          "a": 0,
          "k": 1,
          "ix": 5
        },
        "lc": 1,
        "lj": 1,
        "ml": 4,
        "nm": "描边 1",
        "mn": "ADBE Vector Graphic - Stroke",
        "hd": false
      }, {
        "ty": "fl",
        "c": {
          "a": 0,
          "k": [0.466666696586, 0.658823529412, 0.239215701234, 1],
          "ix": 4
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 5
        },
        "r": 1,
        "nm": "填充 1",
        "mn": "ADBE Vector Graphic - Fill",
        "hd": false
      }, {
        "ty": "tr",
        "p": {
          "a": 0,
          "k": [0, 0],
          "ix": 2
        },
        "a": {
          "a": 0,
          "k": [0, 0],
          "ix": 1
        },
        "s": {
          "a": 0,
          "k": [100, 100],
          "ix": 3
        },
        "r": {
          "a": 0,
          "k": 0,
          "ix": 6
        },
        "o": {
          "a": 0,
          "k": 100,
          "ix": 7
        },
        "sk": {
          "a": 0,
          "k": 0,
          "ix": 4
        },
        "sa": {
          "a": 0,
          "k": 0,
          "ix": 5
        },
        "nm": "变换"
      }],
      "nm": "形状 1",
      "np": 3,
      "cix": 2,
      "ix": 1,
      "mn": "ADBE Vector Group",
      "hd": false
    }],
    "ip": 1,
    "op": 25,
    "st": 1,
    "bm": 0
  }],
  "markers": []
}

    var anim = bodymovin.loadAnimation({

        wrapper: document.querySelector('#bm'),

        animType: 'svg',

        loop: false,

        autoplay: false,

        prerender: true,

        path: '/static/game/js/data.json'

    });



    function play(){

        anim.goToAndStop(0, true)

        anim.play()

    }

    document.addEventListener('DOMContentLoaded', function () {

        function audioAutoPlay() {

            var audio = document.getElementById('back_music');

            audio.play();

            document.addEventListener("WeixinJSBridgeReady", function () {

                audio.play();

            }, false);

        }

        audioAutoPlay();

    });



    document.addEventListener('visibilitychange', function(e) {

        function audioStop() {

            var audio = document.getElementById('back_music');

            document.hidden ? audio.pause() : audio.play();

            document.addEventListener("WeixinJSBridgeReady", function () {

                document.hidden ? audio.pause() : audio.play();

            }, false);

        }

        audioStop();

    });





    /*document.getElementById("return").onclick=function(){wx.miniProgram.navigateTo({url: '/pages/index/main'})};*/

</script>





</body></html>